﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


public partial class MasterPage : System.Web.UI.MasterPage
{
    public static ScriptResourceMapping ScriptResourceMapping { get; set; }
    protected void Page_Load(object sender, EventArgs e)
    {
        string pageName = this.Page.ToString().Substring(4, this.Page.ToString().Substring(4).Length - 5);



        switch (pageName)
        {

            case "default":

                HomeBtn.BackColor = Color.FromArgb(116, 155, 205);
                break;
            case "about":

                HomeBtn.BackColor = Color.FromArgb(116, 155, 205);
                break;
        }
    }
}
